//
//  NSDate+BMAAdditions.h
//  Autismus
//
//  Created by Nicolas CHENG on 15/01/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (BMAAdditions)

+ (NSDate *)dateTomorrow;
+ (NSDate *)dateYesterday;
+ (NSDate *)dateByAddingDaysFromNow:(NSInteger)value;
- (NSDate *)dateByAddingDays:(NSInteger)value;
- (BOOL)isEqualToDateIgnoringTime:(NSDate *)value;
- (BOOL)isToday;
- (BOOL)isTomorrow;
- (BOOL)isYesterday;
- (NSDate *)tomorrow;
- (NSDate *)yesterday;

- (NSInteger)year;
- (NSInteger)month;
- (NSInteger)day;
- (NSInteger)hour;
- (NSInteger)minute;
- (NSInteger)second;

- (NSDate *)dateByReplacingTimeWith:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second;

@end
